# _*_ coding: utf-8 _*_
from odoo import models, fields, api


class ChangeProductionQty(models.TransientModel):
    _inherit = "change.production.qty"

    @api.multi
    def change_prod_qty(self):
        res = super(ChangeProductionQty, self).change_prod_qty()
        self.mo_id.button_unreserve()
        return res
